<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>contrss</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : April 1993</div>
    <p>
      <b>contrss</b> -  controllable part</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>[slc]=contrss(sl [,tol])  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>sl</b>
        </tt>: linear system (<tt>
          <b>syslin</b>
        </tt> list)</li>
      <li>
        <tt>
          <b>tol</b>
        </tt>: is a threshold for controllability (see <tt>
          <b>contr</b>
        </tt>).  default value is <tt>
          <b>sqrt(%eps)</b>
        </tt>.</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    returns the controllable part of the linear 
    system <tt>
        <b>sl = (A,B,C,D)</b>
      </tt> in state-space form.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

A=[1,1;0,2];B=[1;0];C=[1,1];sl=syslin('c',A,B,C);  //Non minimal
slc=contrss(sl);
sl1=ss2tf(sl);sl2=ss2tf(slc);      //Compare sl1 and sl2
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="cont_mat.htm">
        <tt>
          <b>cont_mat</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="ctr_gram.htm">
        <tt>
          <b>ctr_gram</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="cont_frm.htm">
        <tt>
          <b>cont_frm</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="contr.htm">
        <tt>
          <b>contr</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
